<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta charset="utf-8">
    <title>中国老虎</title>
    <!-- Le styles -->
	<link href="css/bootstrap.css" rel="stylesheet">
    <link href="css/bootstrap-responsive.min.css" rel="stylesheet">
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://cdnjs.bootcss.com/ajax/libs/html5shiv/3.6.2/html5shiv.js"></script>
    <![endif]-->
	<style>
	.tipBox{display:none;height:0px;letter-spacing:1px;font-family:"微软雅黑";color:#0c0c0c;padding-top:25px;padding-bottom:30px;position:fixed;top:0px;background:#fff;width:100%;border-bottom-left-radius:15px;border-bottom-right-radius:15px;text-align:center;background:url(resources/css/images/arrowUp.png) #fff no-repeat 89% 0px;background-size:109px 73px;height:90px;text-align:left;}
    .tipBox strong{color:#c53c43;}
    .innerBox{padding-left:30px;display:inline-block;line-height:25px;}

    .mask{background:rgba(0,0,0,0.4);width:100%;position:absolute;left:0px;top:0px;}
    a{display:none;}
	#main a{display:block;}
</style>
  </head>
  <body style="margin: 0px ;padding:0px;">
<div style="margin: 0px ;padding:0px;">
	<div  >
			<img src="http://www.chinalaohu.com/images/1/laohu/down.jpg"/>
	</div>
	<div style="background-color:rgb(247,238,229);width:100%;height:160px;">  
		<div style="float:left;">
			<img src="http://www.chinalaohu.com/images/1/laohu/down2.jpg" style="width:100px;margin-left:20px;margin-top:39px;"/></div>
		<div style="float:right;margin-right:10px; ">
			<!--<div style="font-size:25px;color:rgb(242,194,58);margin-top:30px;margin-left:20px;">中国老虎</div>
			<div ><img class="download" src="http://www.chinalaohu.com/images/1/laohu/down3.png" style="margin-left:20px;margin-top:20px;width:100px;"class="download"/></div>
			<p><img class="downloadAndroid" src="http://www.chinalaohu.com/images/1/androiddownload.png" style="margin-left:20px;margin-top:30px;width:120px;" /></p>-->
			<div style="font-size:25px;color:rgb(242,194,58);margin-top:30px;margin-left:20px;">中国老虎</div>
				<p><img class="download" src="http://www.chinalaohu.com/images/1/laohu/down3.png" style="margin-left:20px;margin-top:20px;width:120px;" /></p>
		</div>
	</div>
	<div style="clear:both;">
		<div style="margin-top:20px;margin-left:20px;margin-bottom:20px;font-size:12px;color:rgb(81,51,61)">
		快速竞拍<br/>
		手机实时出价、代理出价，让您轻轻松松玩竞拍。<br/>
		<br/>
		
		创意设计大赛<br/>
		秀出您的作品，参加大赛，赢得丰厚大奖。<br/>
		<br/>
		手机店铺<br/>
		珍贵收藏品，新奇创意作品尽在其中。<br/>
		<br/>
		在线支付<br/>
		可直接在手机端进行竞价成功的拍品支付，方便快捷
		</div>
	</div>
<div class="mask">
	<div class="tipBox">
	<div class="innerBox">
		哎呀！微信不让跳。<br />
	烦请抬眼，点击右上角<br />
	选择<strong>在浏览器(或safari)打开</strong><br />
	该怎么下，还怎么下！
	</div>
</div>
</div>
</div>

	
  </body>



  <script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
<script type="text/javascript">
	function is_weixin(){
		var ua = navigator.userAgent.toLowerCase();
		if(ua.match(/MicroMessenger/i)=="micromessenger") {
			return true;
		} else {
			return false;
		}
	}
	var tipBox=$(".tipBox"),
		mask=$(".mask");
	
	/*$('.downloadAndroid').click(function(){
		if(is_weixin()){
			tipBox.css({"display":"block"});
			mask.css({"height":$(document).height()+"px","display":"block"});
			tipBox.animate({"height":"95px"});
		}else{
			window.location.href="http://www.chinalaohu.com/download/ChinaLaohu.apk";
		}
	});
	
	$('.downloadIos').click(function(){
		if(is_weixin()){
			tipBox.css({"display":"block"});
			mask.css({"height":$(document).height()+"px","display":"block"});
			tipBox.animate({"height":"95px"});
		}else{
			window.location.href="https://itunes.apple.com/us/app/zhong-guo-lao-hu/id726118676?mt=8&uo=4";
		}
	});
	*/
	mask.click(function(){
		tipBox.css({"display":"none"});
		mask.css({"display":"none"});
		tipBox.animate({"height":"0px"});
	});
</script>
<?php
    $agent = strtolower($_SERVER['HTTP_USER_AGENT']);  
    $iphone = (strpos($agent, 'iphone')) ? true : false; 
	$ipad  = (strpos($agent, 'ipad')) ? true : false;     
    $android = (strpos($agent, 'android')) ? true : false; 
    $androidbig = (strpos($agent, 'android 4')) ? true : false;  
	
	
	//if ($iphone){echo "1";}else if ($ipad){echo "2";}else if ($android){echo "3";}else if ($androidbig){echo "4";}else{echo "5";}
	if($iphone||$ipad){
	echo "<script type='text/javascript'>
	$('.download').click(function(){
		window.location.href='https://itunes.apple.com/us/app/zhong-guo-lao-hu/id726118676?mt=8&uo=4';
	});
		</script>";
    }else{
	echo "<script type='text/javascript'>
			$('.download').click(function(){
		if(is_weixin()){
			tipBox.css({'display':'block'});
			mask.css({'height':$(document).height()+'px','display':'block'});
			tipBox.animate({'height':'95px'});
		}else{
			window.location.href='http://www.chinalaohu.com/download/ChinaLaohu.apk';
		}
	});
			</script>";
	}


?>

</html>